<?
print_r($_SERVER);
// Includes
require_once("classes/fetch.class.php");

$fetch = new fetch;


/*
// Start timer
$time = new timer;

// Base Url
$url = "http://www.danbolig.dk/SoegBolig/Resultatsider/Soegeresultat.htm?searchtype=1&pricerangetype=1&pricerangemaximum=1500000&minimumnumberofrooms=2&excludeprojectsales=0&propertytype=4&district=165,201,151,147,187,175,173,101,169,167,161,157,159&pricerangetype=1";

// Fetch IDS
$id_fetch = new id_fetch;
$id_fetch->execute($url);

// Fetch Data
$data_fetch = new data_fetch;
$data_fetch->get_ids_from_db();
$data_fetch->fetch_n_process_data();

// Timer Stop
$time->stop();

// Print total time to console
// PREPARE FOR REMOVAL
$id_fetch->console_add("
------------------------------------------------------------------------\n
|   Total script time ".$time->view(2)." seconds - ".round(($id_fetch->data_size/1000000), 2)."Mb Downloaded\n
|   ------------------------------------------------------------------------\n
");



// Function
*/
?>